package com.future.mapper;

import com.future.domain.HealthDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.future.domain.vo.HealthDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;


@Mapper
public interface HealthDetailMapper extends BaseMapper<HealthDetail> {
    HealthDetailVO getHealthDetail(@Param("user_id") Long id);

    List<HealthDetailVO> getHealthList(Map<String,Object> map);

    Long getHealthCount(@Param("real_name") String studentName,@Param("class_id") Long classId,@Param("warn") Integer warn);

    List<HealthDetail> getNotedStudents(Map<String,Object> map);
}
